(function () {
  setTimeout(function () {
    // $('.mailTop').fadeOut(10);
    // $('.mailBo').fadeOut(10);
    $('.mailTop').hide();
    $('.mailBo').hide();
    $('.mailClose').show();
    // $('.mailTop').css('opacity', 0);
    // $('.mailBo').css('opacity', 0);
    // $('.mailClose').css('opacity', 1);
  }, 30200);
})()
$(document).ready(function () {
  /**消息 */
  $("#one").on("webkitAnimationStart AnimationStart", function (e) {
    wxMsg.currentTime = 0
    wxMsg.play()
  })
  $("#two").on("webkitAnimationStart AnimationStart", function (e) {
    wxMsg.pause()
    wxMsg.currentTime = 0
    wxMsg.play()
  })
  $("#three").on("webkitAnimationStart AnimationStart", function (e) {
    wxMsg.pause()
    wxMsg.currentTime = 0
    wxMsg.play()
  })
  /**同学说话 */
  $(".classTalk01").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".classTalk02").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".classTalk03").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".classTalk04").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  /**公司说话 */
  $(".firmTalk01").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".firmTalk02").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".firmTalk03").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".firmTalk04").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  /**家庭说话 */
  $(".homeTalk01").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".homeTalk02").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".homeTalk03").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
  $(".homeTalk04").on("webkitAnimationStart AnimationStart", function (e) {
    talkMsg.play()
  })
});